home *** CD-ROM | disk | FTP | other *** search
/ Maximum CD 2001 February / maximum-cd-2001-02.iso / Team Arena / TeamArenaDemo.exe / Main / pak0.pk3 / ui / ingame_addbot.menu < prev    next >
Encoding:
Text File  |  2000-11-22  |  2.7 KB  |  165 lines

  1. #include "ui/menudef.h"
  2.  
  3. {
  4. \\ ADDBOT MENU \\
  5.  
  6. menuDef {
  7.         name "ingame_addbot"
  8.         visible 0
  9.         fullscreen 0
  10.     outOfBoundsClick            // this closes the window if it gets a click out of the rectangle
  11.         rect 106 30 192 123
  12.         disableColor  .5 .5 .5 1 
  13.         focusColor 1 .75 0 1
  14.         style 1
  15.         border 1
  16.  
  17. itemDef {
  18.     name window
  19.     rect 10 15 172 108
  20.     style 1
  21.     //border 1
  22.     //bordercolor .5 .5 .5 1
  23.     backcolor 0 .1 0 1
  24.     visible 1
  25.     decoration
  26.     }
  27.  
  28.  
  29.  
  30.  
  31.  
  32. itemDef {
  33.     name window
  34.     rect 0 10 64 64
  35.     style 3
  36.     background "ui/assets/ingameleftcorner.tga"
  37.     visible 1
  38.     decoration
  39.     }
  40.  
  41. itemDef {
  42.     name window
  43.     rect 64 0 65 16
  44.     style 3
  45.     background "ui/assets/ingameconnection.tga"
  46.     visible 1
  47.     decoration
  48.     }
  49. itemDef {
  50.     name window
  51.     rect 129 10 64 64
  52.     style 3
  53.     background "ui/assets/ingamerightcorner.tga"
  54.     visible 1
  55.     decoration
  56.     }
  57.  
  58. itemDef {
  59.     name window
  60.     rect 0 64 64 64
  61.     style 3
  62.     background "ui/assets/ingameleftcornerb.tga"
  63.     visible 1
  64.     decoration
  65.     }
  66. itemDef {
  67.     name window
  68.     rect 129 64 64 64
  69.     style 3
  70.     background "ui/assets/ingamerightcornerb.tga"
  71.     visible 1
  72.     decoration
  73.     }
  74. itemDef {
  75.     name window
  76.     rect 64 120 66 8
  77.     style 3
  78.     background "ui/assets/ingamebottom.tga"
  79.     visible 1
  80.     decoration
  81.     }
  82.  
  83.  
  84.  
  85. itemDef {
  86.           name gametypefield
  87.     style 0
  88.     text "Name:"    
  89.      ownerdraw UI_BOTNAME
  90.           rect 0 20 128 20 
  91.           textalign ITEM_ALIGN_RIGHT        
  92.           textalignx 86
  93.           textaligny 18    
  94.     textscale .25     
  95.           forecolor 1 1 1 1
  96.           border 0
  97.           bordercolor 0 0 0 0
  98.           visible 1 
  99.         }
  100.  
  101. itemDef {
  102.           name gametypefield
  103.           style 0
  104.     text "Team:"    
  105.     ownerdraw UI_REDBLUE
  106.           rect 0 40 128 20 
  107.           textalign ITEM_ALIGN_RIGHT        
  108.           textalignx 86
  109.           textaligny 18    
  110.     textscale .25
  111.     cvarTest "g_gametype"
  112.     disableCvar { "0" ; "1" }     
  113.           forecolor 1 1 1 1
  114.           border 0
  115.           bordercolor 0 0 0 0
  116.           visible 1 
  117.         }
  118.  
  119. itemDef {
  120.           name gametypefield
  121.           style 0    
  122.     text "Skill:"
  123.      ownerdraw UI_BOTSKILL
  124.           rect 0 60 128 20 
  125.           textalign ITEM_ALIGN_RIGHT        
  126.           textalignx 86
  127.           textaligny 18    
  128.     textscale .25     
  129.           forecolor 1 1 1 1
  130.           border 0
  131.     bordercolor 0 0 0 0
  132.     visible 1 
  133.         }
  134.  
  135.  
  136. itemDef {
  137.     name ok
  138.     text "Add Bot"
  139.     type 1
  140.     textscale .25
  141.     style WINDOW_STYLE_FILLED
  142.     background "ui/assets/button_back.tga"
  143.     rect 65 95 50 20
  144.     textalign 1
  145.     textalignx 25
  146.     textaligny 15
  147.     forecolor 1 1 1 1
  148.     backcolor .37 .1 .1 1 
  149.     visible 1
  150.     action { uiScript addBot ; uiScript closeingame }
  151.     mouseEnter { setitemcolor ok backcolor .1 .37 .1 1 }
  152.           mouseExit { setitemcolor ok backcolor .37 .1 .1 1 }
  153.     }
  154.     
  155.  
  156.  
  157.  
  158.  
  159.  
  160.  
  161. }
  162.  
  163.  
  164. }
  165.